<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String message = (String)(request.getAttribute("message")); //错误提示信息
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>"/>
<meta name="author" content="zsm"/>
<meta name="generator" content="notepad"/>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Language" content="ch-cn">

<title>登录界面</title>
</head>

<body background="bgpic.jpg" topmargin=40 leftmargin=30>

<center><marquee width=400><font face="华文行楷" size="7" color="yellow">
欢迎使用网上阅卷系统</font></marquee>
</center>

<hr width="60%" size="5"></br></br>

<table align="center" background="bgpic.jpg">
<tr align="center">
<td width=400 height=200>
</br>
<font color="red" size=2><% if(message != null) out.println(message); else out.println("</br>");%></font>
<form name="Login" action="servlet/login" method="post" >
	<font color="pink"><b>工号：</b></font>
	<input name="tea_ID" type="text" size=25 maxlength=30 value=""/></br></br>
	<font color="pink"><b>密码：</b></font>
	<input name="password" type="password" size=25 maxlength=30 value=""/></br></br>
	<input name="login" type="submit" value="登录"/>
</form>
</td>
</tr>
</table></br></br>
<hr width="60%" size="5">
</body>
</html>